//
//  ZFK_startTextView.m
//  Drops
//
//  Created by SHG on 16/6/1.
//  Copyright © 2016年 Drops.er. All rights reserved.
//

#import "ZFK_startTextView.h"

@implementation ZFK_startTextView

/*
// Only override drawRect: if you perform custom drawing.
// An empty implementation adversely affects performance during animation.
- (void)drawRect:(CGRect)rect {
    // Drawing code
}
*/

- (id)initWithFrame:(CGRect)frame {
    self = [super initWithFrame:frame];
    if (self) {
        [self createView];
    }
    return self;
}

- (void)createView {
    self.topLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 40, sWIDTH / 3 * 2, sHEIGHT / 12)];
    self.topLabel.textColor = [UIColor whiteColor];
    self.topLabel.font = [UIFont systemFontOfSize:47];
//    self.topLabel.backgroundColor = [UIColor yellowColor];
    self.topLabel.shadowColor = [UIColor lightGrayColor];
    [self addSubview:self.topLabel];
    
    self.bottomLabel = [[UILabel alloc] initWithFrame:CGRectMake(20, 40 + sHEIGHT / 12, sWIDTH - 40, sHEIGHT / 16)];
    self.bottomLabel.textColor = [UIColor whiteColor];
    self.bottomLabel.font = [UIFont systemFontOfSize:21];
//    self.bottomLabel.backgroundColor = [UIColor redColor];
    self.bottomLabel.shadowColor = [UIColor lightGrayColor];
    [self addSubview:self.bottomLabel];
}

@end
